<?php if( $params->get('item_content','introtext') == 'introtext'): ?>
<?php echo $row->introtext; ?>
<?php else: ?>
<?php echo $row->mainImage; ?>
<p><?php echo $row->description; ?></p>
<?php endif; ?>

